home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 18 / 5 / DISK1853.ZIP / BETWEEN.BAT < prev    next >
DOS Batch File  |  1989-08-20  |  896b  |  28 lines

  1. echo OFF
  2. if "%2" == "" goto HELP
  3. if NOT "%4" == "" goto HELP
  4. if NOT "%3" == "" goto USERFILE
  5. echo B
  6. echo Executing command: ASCOUT *.*+%1-%2
  7. echo Displaying files on or after %1 and on or before %2...
  8. ASCOUT *.*+%1-%2
  9. goto END
  10. :USERFILE
  11. echo B
  12. echo Executing command: ASCOUT %1+%2-%3
  13. echo Displaying files matching %1 on or after %2 and on or before %3...
  14. ASCOUT %1+%2-%3
  15. goto END
  16. :HELP
  17. echo B
  18. echo To find all files on drive between two dates, 
  19. echo type BETWEEN followed by beginning date, then ending date
  20. echo Example:  BETWEEN 1/1/88 12/31/88
  21. echo To restrict search to certain files, precede dates with filespec 
  22. echo Examples: BETWEEN FILENAME.EXT 1/1/88 12/31/88
  23. echo           BETWEEN C:*.COM 1/1/88 12/31/88
  24. echo B
  25. echo For further information, see DUHELP help program
  26. :END
  27. echo ON
  28.